package tree;

public class MidTraverse {
    public static void midTraverse(TreeNode root)
    {
        if (root == null)
        {
            return;
        }
        midTraverse(root.getLeft());
        System.out.println(root.getValue());
        midTraverse(root.getRight());
    }
}
